#ifndef NONCOPYABLE_HPP
#define NONCOPYABLE_HPP

class NonCopyable{
protected:
    // 定义了protected型构造函数的类，也称为抽象类
    NonCopyable(){}
    ~NonCopyable(){}

    NonCopyable(const NonCopyable &) = delete;
    NonCopyable &operator=(const NonCopyable &) = delete;
};

#endif